package com.dongdongshop.service;

import com.dongdongshop.common.PageResult;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItemCat;

import java.util.List;

public interface TbItemCatService {
    PageResult<TbItemCat> selectInfoParentIdServer(TbItemCat itemCat, Long parentId, Integer pageNumber, Integer pageSize);

    TbItemCat selectByParentId(Long parentId);

    int addItemcat(TbItemCat tbItemCat);

    TbItemCat getSelectItemcatById(Long id);

    int getUpdateItemcat(TbItemCat tbItemCat);

    List<TbItemCat> getItemCatByParentId(Long parentId);

    List<TbItemCat> selectAll();
}
